var signup = require('./signup');
var signin = require('./signin');
var signout = require('./signout');
var posts = require('./posts');
var test = require('./test');
module.exports = function (app) {

  app.route('/')
    .get(function (req, res, next) {
      res.redirect('/posts');
    });
  //注册
  signup(app);
  //登陆
  signin(app);
  //登出
  signout(app);
  //主页
  posts(app);
  //测试
  test(app);
};

